package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 工单预约记录表
 * </p>
 *
 * @author WEN
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkReservationLog对象", description="工单预约记录表")
    public class ZjWorkReservationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "操作人类型：1-客服，2-服务商，3-工程师")
    private Integer type;

    @ApiModelProperty(value = "操作人")
    private String createEmp;

    @ApiModelProperty(value = "预约日期")
    private Date reservationDate;

    @ApiModelProperty(value = "预约开始时间")
    private Date reservationStartTime;

    @ApiModelProperty(value = "预约结束时间")
    private Date reservationEndTime;

    @ApiModelProperty(value = "原因")
    private String remark;

    @ApiModelProperty(value = "操作时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
